<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>WLog: OS.h源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- 制作者 Doxygen 1.5.8 -->
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>名字空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<h1>OS.h</h1><a href="OS_8h.html">浏览该文件的文档。</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _WLOG_OS_H_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _WLOG_OS_H_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00013"></a>00013 <span class="preprocessor">#if defined(_WIN32) &amp;&amp; defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1500)</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">    #define MORE_AND_EQUAL_THAN_VC9_VS2008 1 //more and equal than vc9, vs2008</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#if defined(_WIN32) &amp;&amp; defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1400)</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">    #define MORE_AND_EQUAL_THAN_VC8_VS2005 1 //more and equal than vc8, vs2005</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#if defined(_WIN32) &amp;&amp; defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1300)</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">    #define MORE_AND_EQUAL_THAN_VC7_VS2002 1 //more and equal than vc7, vs2002</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#if defined(_WIN32) &amp;&amp; defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1200)</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">    #define MORE_AND_EQUAL_THAN_VC6_VS1998 1 //more and equal than vc6, vs1998</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span>
<a name="l00029"></a>00029 <span class="preprocessor">#if defined(_WIN32) &amp;&amp; defined(_MSC_VER) &amp;&amp; (_MSC_VER &lt;= 1200)</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">    #define LESS_AND_EQUAL_THAN_VC6_VS1998 1 //less and equal than vc6, vs1998</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#ifdef LESS_AND_EQUAL_THAN_VC6_VS1998</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">    #define _FUNCTION_NAME_ "null"</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#else </span>
<a name="l00036"></a><a class="code" href="OS_8h.html#21f75e0848b1353f0181241886babf80">00036</a> <span class="preprocessor"></span><span class="preprocessor">    #define _FUNCTION_NAME_ __FUNCTION__</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#endif //LESS_AND_EQUAL_THAN_VC6_VS1998</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="preprocessor">#if !defined(__GNUC__) &amp;&amp; !defined(MORE_AND_EQUAL_THAN_VC8_VS2005)</span>
<a name="l00040"></a><a class="code" href="OS_8h.html#00ba2ca988495904efc418acbf0627d7">00040</a> <span class="preprocessor"></span><span class="preprocessor">    #define vsnprintf _vsnprintf</span>
<a name="l00041"></a><a class="code" href="OS_8h.html#a367b75c5aed883fef5befbdf04835a4">00041</a> <span class="preprocessor"></span><span class="preprocessor">    #define snprintf _snprintf</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#endif //is not gcc and not MORE_AND_EQUAL_THAN_VC8_VS2005</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00044"></a>00044 <span class="preprocessor">#endif //_WLOG_OS_H_</span>
</pre></div></div>
<hr>
<address style="align: right;">
  Generated on Mon Apr 6 21:08:12 2009 for WLog by 韦体东<img src="logo.png" align="middle"/></address>
</body>
</html>
